Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API v2 #1901

Open
wants to merge 3 commits into
base: staging
Choose a base branch
from
Open

API v2 #1901

wants to merge 3 commits into from

Conversation

manuelwedler
Copy link
Contributor

New base PR for API v2 milestone. Progress tracked here: #1367

Any change for this feature should be created in a PR against this apiv2 branch.

Lookup endpoints were already merged: #1882

manuelwedler and others added 2 commits February 6, 2025 14:22
… from openapi.yaml"

This reverts commit 99b9ff0.

The commit was only there to merge apiv2 branch to staging early. We need the APIv1 deprecation again with the finalized APIv2.
…al` tables (#1902)

* Add migrations for verification_jobs and verification_jobs_ephemeral tables

* Remove onchain codes from jobs table and add `creator_transaction_hash`
* Move API v2 related methods to bottom of SourcifyDatabaseService

* Remove status column from verification_jobs table

The status can be implicitly derived and is not needed for the API response

* Turn id of verification_jobs table into a uuid

* Add GET /v2/verify/{verificationId} endpoint

* Add tests for get job endpoint

* Add onchain bytecodes to verification_jobs_ephemeral table

* Update API v2 specs

* Make compilation_time a bigint

* Add compilationTime, bytecodes and creatorTransactionHash to GET job response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triage
Development

Successfully merging this pull request may close these issues.

1 participant